package com.blog.webSocket.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 任浩
 * @version 1.0
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("chat_list")
public class ChatList implements Serializable {

    @TableId
    private int Id;

//    @TableField(value = "link_id")
//    private Integer linkId;

    @TableField(value = "from_user")
    private String fromUser;

    @TableField(value = "to_user")
    private String toUser;

    @TableField(value = "from_window")
    private Integer fromWindow;

    @TableField(value = "to_window")
    private Integer toWindow;

    @TableField(value = "unread")
    private Integer unread;

    @TableField(value = "status")
    private Integer status;
}
